//
//  WFMacros.h
//  imtMall
//
//  Created by lorin on 15/6/9.
//  Copyright (c) 2015年 IMT. All rights reserved.
//


#ifndef imtMall_WFMacros_h
#define imtMall_WFMacros_h

#pragma mark - MACROS-FLAG

//#define FOR_APP_STORE
#define WF_HOME_V2     //首页2.0 新版本
//#define WF_JS_HOTFIX_ENABLE //开启JS热修复


static NSString * const APP_NAME = @"Pigpony";


#pragma mark - 第三方 Key
//UMENG
#ifdef FOR_APP_STORE
static NSString * const k_UMENG_APP_KEY = @"55d681d667e58e056b005347";//AppStore
#else
static NSString * const k_UMENG_APP_KEY = @"560bb19967e58e88d9000459";//Inside
#endif

//RONG CLOUD
static NSString * const k_RongCloud_APP_KEY  = @"e5t4ouvptx2qa";//@"0vnjpoadn5bgz";

//Paypal
static NSString * const k_Paypal_Live_Client_Id    = @"AVFF_xBmXr0MMIX0Q_ee3HrI6gO-ty20O20dsC0JCj2hk9Ef3MT1Put_x3bj";
static NSString * const k_Paypal_Sandbox_Client_Id = @"AVY7uKI_FT0R2CmNVvOBrlazis7qxVLDxRlmpkuceytKz7VpsYY6YEXl_JxVfCbqy_W-CCr4XOB1anSV";


//Twitter
static NSString * const k_Twitter_Consumer_Key = @"CgPhb5MlBKSfIo7Eslhkb3P1T";
static NSString * const k_Twitter_Secret       = @"qnXMtlW0Xe79h6iKnbbUJBcRtUDqxJ1rTWMXcS8lj5VbUq72hg";

//仅仅是方便以后查看，正在配置是在Info.plist
#ifdef FOR_APP_STORE
static NSString * const k_Facebook_App_ID = @"1719108138319003";//AppStore
#else
static NSString * const k_Facebook_App_ID = @"1729405327289284";//Inside
#endif

//AppsFlyer
static NSString * appsFlyerKey   = @"HNRpkgD9imdPZWXTrv3Rca";
static NSString * appsFlyerAppId = @"1013794799";



#pragma mark - default config
static NSInteger  const APP_DEFAULT_PAGE_SIZE = 20;
static NSString * const APP_DEFAULT_PRICE_SYMBOL = @"$";

static NSString * const APP_Team_Service_URL   = @"https://document.pigpony.com/agreement/teamsserviceios.html";
static NSString * const APP_Privacy_Policy_URL = @"https://document.pigpony.com/agreement/privacypolicyios.html";

#pragma mark - 页面风格
//默认图片
#define APP_PRODUCT_PLACEHOLDER_IMAGE_SMALL     ([UIImage imageNamed:@"defaultImage"])
#define DEFAULT_PHOTO_IMAGE                     ([UIImage  imageNamed:@"defaultImage"])
#define WF_USER_DEFAULT_ACATAR                  ([UIImage imageNamed:@"common_default_avatar"])

//BASE COLOR
#define THEME_PRODUCT_PRICE_COLOR          HexColor(0xff9743)            //粉红色 商品价格
#define THEME_PRODUCT_ORANGE_COLOR         HexColor(0xff9743)            //橙色 Button按钮背景色

#define APP_NAV_BAR_COLOR                  THEME_WHITE_COLOR             //导航栏
#define APP_NAV_BAR_TEXT_COLOR             HexColor(0x73808E)            //导航栏其他颜色
#define APP_NAV_BAR_TEXT_HIGHTLIGHT_COLOR  HexColor(0x7cb8ff)            //导航栏其他颜色
#define THEME_PRODUCT_FREE_SHIPPING_COLOR  THEME_APP_BLUE_COLOR          //浅蓝色

#define THEME_BLACK_COLOR                  HexColor(0x000000)            //黑色
#define THEME_PRODUCT_DARKE_GRAY_COLOR     HexColor(0x2D2D2D)            //超深灰 GroupName Section分组标题
#define THEME_PRODUCT_GRAY_COLOR           HexColor(0x666666)            //灰色  用于ButtonTitle,CellTitle
#define THEME_PRODUCT_LIGHT_GRAY_COLOR     HexColor(0x9f9f9f)            //浅灰  商品数量，detailTitle
#define APP_BG_COLOR                       HexColor(0xf7f7f7)            //背景色


#define THEME_SEPARATOR_GRAY_COLOR         HexColor(0xb8b8b8)            //分割线灰
#define THEME_BUTTON_BORDER_GRAY_COLOR     HexColor(0xc6c6c6)            //ButtonBorder

#define THEME_PRODUCT_LIST_PRICE_COLOR     HexColor(0x73808e)            //列表页产品价格颜色


#define THEME_APP_BLUE_COLOR               HexColor(0x4fa6ff)            //浅蓝色
#define THEME_WHITE_COLOR                  HexColor(0xffffff)            //白色

#define THEME_LIGTH_BLUE_COLOR             HexColor(0xa4cdfc)            //无数据页面提示文字的浅蓝色


//Home
#define K_HOME_CELL_SelectView_BG          HexColor(0xeeeeee)            //首页cell选中背景颜色

//Message
#define K_MessageList_TabView_BG_COLOR     HexColor(0xf5f5f5)            //msg列表页背景
#define K_MessageList_Cell_Content_COLOR   THEME_PRODUCT_LIGHT_GRAY_COLOR//msg列表页cell内容颜色
#define K_MessageList_LINE_View_BG_COLOR   APP_BG_COLOR                  //msg列表页线条颜色


//Product
#define THEME_PRODUCT_NAME_COLOR           THEME_PRODUCT_GRAY_COLOR// 产品名字
#define THEME_PRODUCT_MORE_COLOR           THEME_PRODUCT_GRAY_COLOR      // 更多
#define THEME_PRODUCT_REVIEW_CONTENT_COLOR THEME_PRODUCT_LIGHT_GRAY_COLOR//评论内容
#define THEME_PRODUCT_WRITE_REVIEW_COLOR   THEME_PRODUCT_GRAY_COLOR      //写评论


#define APP_LEFT_VIEW_WITHD 265

#endif
